package xyh.ContributionSystem.ProjectContribution;

import xyh.ContributionSystem.ContributionSearch.SearchContribution;

import java.util.List;

public interface ProjectContributionDAO {
    boolean addProjectContribution(ProjectContribution contribution);
    boolean updateProjectContribution(ProjectContribution contribution);

    ProjectContribution getProjectContribution(int contribution_id);

    List<ProjectContribution> getAllProjectContribution();

    List<ProjectContribution> findProjectContribution(SearchContribution searchContribution);
}
